package com.kitty.record.kittyideadecrypt;

import com.sun.org.apache.xerces.internal.impl.dv.util.HexBin;
import org.apache.commons.codec.digest.DigestUtils;

import java.io.UnsupportedEncodingException;
import java.security.MessageDigest;
import java.security.NoSuchAlgorithmException;

/**
 * @Description
 * @Author SHEN
 * @Date 2020/10/30
 */
public class kittyIdeaDecryptMd2 {
    public static void main(String[] args) throws NoSuchAlgorithmException, UnsupportedEncodingException {
        String data = "39";


        for (int i = 0; i < 100000000; i++) {
            data = new String(DigestUtils.md2Hex(data).getBytes("gbk"), "utf-8");

        }
        System.out.println(data);
    }

}
